package com.heaven.thread;

import java.util.concurrent.*;

public class ThreadTest {
    public static void main(String[]args){

        //Future<Integer> future =
        for(int i=0;i<3;i++){
            ExecutorService threadPool = Executors.newCachedThreadPool();
            threadPool.submit(new Task());
        }
    }
}
